package commands;

import game.Game;
import room.Room;

public final class Move extends Command
{
  private Game game;
  private Room room;
  
  public Move(Game game, Room room)
  {
    this.game = game;
    this.room = room;
  }
  
  public String run()
  {
    game.setCurrentRoom(room);
    return "";
  } 
  
  /**
   * @return the game
   */
  public Game getGame()
  {
    return game;
  }

  /**
   * @param game the game to set
   */
  public void setGame(Game game)
  {
    this.game = game;
  }

  /**
   * @return the room
   */
  public Room getRoom()
  {
    return room;
  }

  /**
   * @param room the room to set
   */
  public void setRoom(Room room)
  {
    this.room = room;
  } 

}
